package memory;

public class LongWord implements Word , WordFinder {
	private long value;
	
	public LongWord(long value){
		this.value = value;
	}
	public long getValue() {		
		return value;
	}
	
	public String toString(){
		return Long.toString(value);		
	}

	public boolean equals(Word word) {
		return (word.getValue() == value);
	}
	
	public Word getWord(Memory mem) {		
		return this;
	}
}
